﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mofang.Utils.LogProvider
{
	/// <summary>
	/// 日志操作( 可被继承 并可自定义)
	/// </summary>
	public class OperateTypes
	{
        /// <summary>
		/// 日志类型
		/// </summary>
		public enum LogType
        {
            /// <summary>
            /// 通用业务
            /// </summary>
            CommonLog = 0,

            /// <summary>
            /// 订单
            /// </summary>
            OrderLog = 1,

            /// <summary>
            /// 用户
            /// </summary>
            UserLog = 2,

            /// <summary>
            /// 房间
            /// </summary>
            RoomLog=3,

            /// <summary>
            /// 短信
            /// </summary>
            MessageLog = 4,
        }

        /// <summary>
        /// 日常操作
        /// </summary>
        public enum Common
		{
			/// <summary>
			/// 系统自动操作
			/// </summary>
			System = 900,
		}

		/// <summary>
		/// 订单操作
		/// </summary>
		public enum Order
		{
			/// <summary>
			/// 订阅新增订单
			/// </summary>
			Add = 100,

			/// <summary>
			/// 订阅修改预订
			/// </summary>
			Modify = 101,

			/// <summary>
			/// 订阅取消预订
			/// </summary>
			Cancel = 102,

			/// <summary>
			/// 订阅预订未到
			/// </summary>
			Noshow = 103,

			/// <summary>
			/// 订阅恢复订阅
			/// </summary>
			Recover = 104,

			/// <summary>
			/// 订阅使用订阅、订单
			/// </summary>
			Used = 105
		}

		/// <summary>
		/// 用户操作
		/// </summary>
		public enum User
		{
			/// <summary>
			/// 用户注册
			/// </summary>
			UserRegister = 120,

			/// <summary>
			/// 用户注销
			/// </summary>
			UserLogout = 121,

			/// <summary>
			/// 修改密码
			/// </summary>
			UserModifyPassword = 122,

			/// <summary>
			/// 更换手机号
			/// </summary>
			UserChangePhone = 123,   

			/// <summary>
			/// 修改密保
			/// </summary>
			UserModifyQuestion = 124,   

		}

		/// <summary>
		/// 订单操作
		/// </summary>
		public enum Subscribe
		{
			/// <summary>
			/// 订阅新增订单
			/// </summary>
			SubscribeOperate = 100,

			/// <summary>
			/// 订阅新增订单
			/// </summary>
			SubscribeAdd = 101,

			/// <summary>
			/// 订阅修改预订
			/// </summary>
			SubscribeModify = 102,

			/// <summary>
			/// 订阅取消预订
			/// </summary>
			SubscribeCancel = 103,					

			/// <summary>
			/// 订阅恢复订阅
			/// </summary>
			SubscribeRecover = 104,			
		}

		/// <summary>
		/// 商家操作
		/// </summary>
		public enum Saler
		{
			/// <summary>
			/// 商家操作
			/// </summary>
			SalerOperate = 300,

			/// <summary>
			/// 优惠券新增
			/// </summary>
			CouponSendAdd = 312,

			/// <summary>
			/// 优惠券修改
			/// </summary>
			CouponSendModify = 313,

			/// <summary>
			/// 商家入驻
			/// </summary>
			SalerRegister = 320,     
		}

		/// <summary>
		/// 管理员
		/// </summary>
		public enum Admin
		{
			/// <summary>
			/// 管理员操作
			/// </summary>
			AdminOperate = 500,     

			/// <summary>
			/// 管理账号添加	
			/// </summary>
			AdminAdd = 501,      	

		}
	}
	
	
}
